<template>
  <div class="profile">
    <header class="header">
      <div>
        <img src="https://wx4.sinaimg.cn/large/006yjJnHgy1gebts7u724j30u00u07wh.jpg" alt="用户头像" class="img">
      </div>
      <div class="name">
        <span>一米七的Sky</span>
      </div>
    </header>
    <nav>
      <div>
        <div><span>74</span></div>
        <div><span>收藏夹</span></div>
      </div>
      <div>
        <div><span>30</span></div>
        <div><span>关注店铺</span></div>
      </div>
      <div>
        <div><span>111</span></div>
        <div><span>足迹</span></div>
      </div>
      <div>
        <div><span>2</span></div>
        <div><span>红包卡卷</span></div>
      </div>
    </nav>
    <main>
      <div class="main-top">
        <div><span>我的订单</span></div>
        <div><span>查看全部订单></span></div>
      </div>
      <div class="main-bot">
        <div>
          <div>
            <img src="~assets/img/profile/main1.png" alt="">
          </div>
          <div><span>待付款</span></div>
        </div>
        <div>
          <div>
            <img src="~assets/img/profile/main2.png" alt="">
          </div>
          <div><span>待发货</span></div>
        </div><div>
          <div>
            <img src="~assets/img/profile/main3.png" alt="">
          </div>
          <div><span>待收货</span></div>
        </div><div>
          <div>
            <img src="~assets/img/profile/main4.png" alt="">
          </div>
          <div><span>评价</span></div>
        </div><div>
          <div>
            <img src="~assets/img/profile/main5.png" alt="">
          </div>
          <div><span>退款/售后</span></div>
        </div>
      </div>
    </main>
  </div>
</template>

<script>
export default {
  name: "Profile",
  components: {
  }
}
</script>

<style scoped>
.profile {
  padding: 20px;
  height: 100vh;
  background-color: #eee;
}
  .header {
    height: 100px;
    display: flex;
    line-height: 100px;
  }
  .img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
  .name {
    margin-left: 20px;
    font-size: 20px;
    font-weight: 800;
    color: #000;
  }
  nav {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 20px;
  }
  main {
    margin-top: 20px;
    padding: 10px;
    border-radius: 6px;
    background-color: #fff;
  }
  .main-top {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }
  .main-bot {
    display: flex;
    justify-content: space-around;
    text-align: center;
  }
  .main-bot img {
    width: 30px;
    height: 30px;
  }
</style>
